package com.mac.userinfo.login.service;

import com.mac.userinfo.usermanage.vo.UserInfoVO;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * 用户登录信息
 */
public interface IUserLoginService extends UserDetailsService {

    /**
     * 根据用户ID加载信息
     * @param userID 用户ID
     * @return UserDetails
     * @throws UsernameNotFoundException
     */
    @Override
    public UserDetails loadUserByUsername(String userID) throws UsernameNotFoundException;
}
